import React, { Component } from 'react'
import './header.scss'
import {withRouter} from 'react-router-dom'

class Header extends Component {
  render() {
    return (
      <div>
        <div className='loginHeader'>
          <span className='iconfont icon-shouye goHome' onClick={() =>{this.props.history.push('/')}}/>
          <h2>网易严选</h2>
          <span className=''/>
          <span className='iconfont icon-fangdajing goHome'/>
          <span className='iconfont icon-gouwuche goHome'/>
        </div>
      </div>
    )
  }
}

export default withRouter(Header)
